import request from '../common/request.js'
//获取省份
export const findCityByParentId = (data) => {
	 return request({
	        url: `city/findCityByParentId/${data.parentId}`,
	        method: 'get'
	})
}

export const findAllCity = (data) => {
	 return request({
	        url: `city`,
	        method: 'get'
	})
}
export const findAllCityChild = (data) => {
	 return request({
	        url: `city/findAllCity`,
	        method: 'get'
	})
}
export const findByCityName = (data) => {
	 return request({
	        url: `city/findByCityName?cityName=${data.cityName}`,
	        method: 'get'
	})
}